<template>
  <button @click="btn">充值完成</button>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import { useRoute, useRouter } from 'vue-router'
const route = useRoute()
const router = useRouter()
const money = ref(route.query)
console.log(money)
const btn = () => {
  var data= {
    // total_amount: money.value,
  }
  // router.push({
  //   path: '/balance',
  //   query: data,
  // })
}
</script>
